Namespace("org.wattdepot.gdata");

// Define the basics of the Testing class. 
// @param val is an arbitrary object.
// @param options is a set of options in OLN. 
org.wattdepot.gdata.Testing = function(val, options) {
  // Not sure when this is needed yet.
  var self = this;
 
  // Instance variables
  var val = val;
  var options = options;

  // Return the value of val.
  var getVal = function() {
    return val;
  };

  // Set the value of val. 
  var setVal = function(newVal) {
    val = newVal;
  };

  // Return the passed option. 
  var getOption = function(key) {
    return options[key];
  };

  return {
    // Specify the public interface.
    getVal : getVal,
    setVal : setVal,
    getOption : getOption
  };
};

